[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 May 2024 12:09:03 +0000 (15:09 +0300)
committerArnaud Rebillout <arnaudr@debian.org>
Tue, 14 Apr 2026 04:38:32 +0000 (11:38 +0700)
commit98beb566d56f36ffb79f72b32128b05917e8691f
tree5c2fc7741f3ce312d38821931dc3ae569a681b8e
parent01078deba3f7b88cda39d60304cbd81b44498fd4
[PATCH] [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)
(cherry picked from commit 4762b365406a8cf026a4a4ddcae34c28a41c3de9)

Gbp-Pq: Name CVE-2025-1795-2.patch
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py